package io.renren.modules.generator.controller.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @ClassName AuthVo
 * @Description TODO
 * @Author zhengd
 * @Date 2020/9/23 21:56
 * @Version 1.0
 **/
@Data
@ApiModel(value = "小程序账号绑定实体对象", description = "小程序账号绑定实体对象")
public class AuthVo implements Serializable {

    /**
     * 账号
     */
    @NotBlank(message = "账号不能为空!")
    @ApiModelProperty(name = "userNo", dataType = "String", value = "账号")
    private String userNo;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空!")
    @ApiModelProperty(name = "password", dataType = "String", value = "密码")
    private String password;

    /**
     * 小程序对应编号
     */
    @NotBlank(message = "编号不能为空!")
    @ApiModelProperty(name = "jscode", dataType = "String", value = "小程序对应jscode")
    private String jscode;

}
